package com.rpay.web.param;

import javax.validation.constraints.NotNull;

public class Withdraw {
    @NotNull(message = "请选择提币地址")
    private int wallet_id;
    @NotNull(message = "请输入数量")
    private String amount;
    @NotNull(message = "请选择到账方式")
    private String rate;
    @NotNull(message = "请输入验证码")
    private String code;
    @NotNull(message = "验证码类型不能为空")
    private String type;

    public int getWallet_id() {
        return wallet_id;
    }

    public void setWallet_id(int wallet_id) {
        this.wallet_id = wallet_id;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getRate() {
        return rate;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Withdraw{" +
                "wallet_id=" + wallet_id +
                ", amount='" + amount + '\'' +
                ", rate='" + rate + '\'' +
                ", code='" + code + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
